package com.tzy.rpc.enumeration;/**
 * @description:
 * @Author HP
 * @create 2022/3/8 15:14
 */

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author HP
 * @create 2022-03-08 15:14
 * @desc响应状态码
 **/
@Getter
@AllArgsConstructor
public enum ResponseCode {
    SUCCESS(200,"调用方法成功"),
    FAIL(500,"调用方法失败"),
    NOT_FOUND_METHOD(501,"未找到指定方法"),
    NOT_FOUND_CLASS(502,"未找到指定类");

    private final int code;
    private final String msg;
}
